package com.atguigu.gmall.list.client.impl;

import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.list.client.ListFeignClient;
import com.atguigu.gmall.model.list.SearchParam;
import com.atguigu.gmall.model.list.SearchResponseVo;
import org.springframework.stereotype.Component;

@Component
public class ListFeignClientImpl implements ListFeignClient {
    @Override
    public Result doESGoodsSave(Long skuId) {
        return Result.fail("服务降级");
    }

    @Override
    public Result doESGoodsRemove(Long skuId) {
        return Result.fail("服务降级");
    }

    @Override
    public Result incrGoodsHotScore(Long skuId) {
        return Result.fail("服务降级");
    }

    @Override
    public Result doSearch(SearchParam searchParam) {
        return Result.fail().message("服务降级");
    }


}
